package com.ywd.materials.admin.po;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lk
 */
@Data
public class FilePo implements Serializable {

  @Schema(description = "id")
  private Integer id;
  @Schema(description = "文件的真实名称")
  private String fileName;
  @Schema(description = "文件的访问路径")
  private String fileUrl;
  @Schema(description = "文件大小")
  private String fileSize;
  @Schema(description = "文件类型")
  private String fileType;
  @Schema(description = "是否需要PDF转换图片")
  private Boolean pdfToImage;
  @Schema(description = "PDF页码数")
  private Integer pages;
  @Schema(description = "该PDF文件是否已转换为图片")
  private Boolean convertImage = false;
}
